package evaluacredito.service;

import java.util.Collection;

import evaluacredito.excepcion.DAOExcepcion;
import evaluacredito.modelo.Persona;

public interface PersonaService {

	public Collection<Persona> buscarPorNombre(String nombres)
			throws DAOExcepcion;

	public Persona insertar(Persona pe) throws DAOExcepcion;

	public Persona obtener(String nroDocumento) throws DAOExcepcion;

	public void eliminar(String nroDocumento) throws DAOExcepcion;

	public Persona actualizar(Persona pe) throws DAOExcepcion;

	public Collection<Persona> listar() throws DAOExcepcion;
}
